package cn.itsource.org.pojo.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
//返回前端的类
public class LoginVo {
    @NotBlank(message ="用户名为空" )
    private String username;
    @NotBlank(message ="手机号为空" )
    private String phone;
    @NotBlank(message ="邮箱为空" )
    private String email;
    private String token;
    private String headImg;
}
